@import "src/common/styles/base";

.goods-page {
  position: relative;

  .ad-space {
    border-radius: 20px 20px 0 0;
    margin-bottom: 20px;
  }

  .option-search {
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .picker {
      flex: 1;
      &:first-child {
        .item {
          justify-content: flex-start;
        }
      }

      &:last-child {
        .item {
          justify-content: flex-end;
        }
      }

      .item {
        display: flex;
        align-items: center;
        justify-content: center;

        .text {
          font-size: 30px;
          font-weight: 400;
          line-height: 42px;
          color: #333333;

          &__checked {
            color: $base-color;
          }
        }
        .icon {
          width: 16.02px;
          height: 11.55px;
          display: block;
          margin-left: 11px;
        }
      }
    }
  }

  .selected {
    display: flex;
    padding: 0 30px;
    align-items: center;
    transition: all 0.3s;
    .item {
      transition: all 0.3s;
      line-height: 55px;
      padding: 0 14px;
      color: $base-color;
      font-size: 24px;
      font-weight: 400;
      display: flex;
      border-radius: 28px;
      border: 1px solid $base-color;
      display: flex;
      align-items: center;
      margin-right: 20px;
      margin-top: 20px;
      margin-bottom: 10px;
      .close {
        display: block;
        width: 16px;
        height: 16px;
        margin-left: 12px;
      }
    }
  }

  .goods-item-wrap {
    margin-bottom: 20px;
  }
}
